package com.terrace.db.system.mapper.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * 字典表
 * 
 * @author jiangyg
 *
 */
public class Dict implements Serializable {

	private static final long serialVersionUID = 7753377994972586544L;

	/**
	 * 主键
	 */
	private String id;

	/**
	 * 字典代码
	 */
	private String dictCode;

	/**
	 * 字典名称
	 */
	private String dictName;
	
	/**
	 * 字典数据列表
	 */
	private List<DictData> dictDataList = new ArrayList<DictData>();

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDictCode() {
		return dictCode;
	}

	public void setDictCode(String dictCode) {
		this.dictCode = dictCode;
	}

	public String getDictName() {
		return dictName;
	}

	public void setDictName(String dictName) {
		this.dictName = dictName;
	}

	@JsonIgnore
	public List<DictData> getDictDataList() {
		return dictDataList;
	}

	public void setDictDataList(List<DictData> dictDataList) {
		this.dictDataList = dictDataList;
	}

}
